package club.tclyq.good_time.upload.bean;

import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;


/**
 * @author tanchong
 * Create Date: 2019/2/24
 */
@Document("photo_type")
public class PhotoType {

//    public static final Map<Integer,String> PHOTO_TYPE_MAP = new HashMap<>();
//
//    static{
//
//        PHOTO_TYPE_MAP.put(0,"默认");
//        PHOTO_TYPE_MAP.put(1,"不舍");
//        PHOTO_TYPE_MAP.put(2,"喜悦");
//        PHOTO_TYPE_MAP.put(3,"点滴");
//        PHOTO_TYPE_MAP.put(4,"纪念");
//
//    }
    @Id
    private ObjectId id;
    @Field("type")
    private String photeType;
    @Field("cn_type")
    private String cnPhotoType;

    public String getCnPhotoType() {
        return cnPhotoType;
    }

    public void setCnPhotoType(String cnPhotoType) {
        this.cnPhotoType = cnPhotoType;
    }

    public ObjectId getId() {
        return id;
    }

    public void setId(ObjectId id) {
        this.id = id;
    }

    public String getPhoteType() {
        return photeType;
    }

    public void setPhoteType(String photeType) {
        this.photeType = photeType;
    }

}
